// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import  moment from "moment";

Vue.use(ElementUI);

Vue.config.productionTip = false

 //Vue.prototype.$serverIp = 'http://localhost/dash/';
Vue.prototype.$serverIp = 'http://10.10.49.15:8088/dash/';
Vue.prototype.$videoIp = 'http://10.10.49.15:8088/HaiKang';
//设备管理
Vue.prototype.$sbIp = 'http://10.10.49.12:8999/daily-rest/common/rest.do?method=rest_device_getDeviceList&argList=';
//巡检管理
Vue.prototype.$xjIp = 'http://10.10.49.15:8088/user/';
Vue.prototype.$moment = moment;
moment.locale('zh-cn');//汉化
import * as echarts from 'echarts';
Vue.prototype.$echarts = echarts

import tedp from "tedp";
Vue.use(tedp);

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
